package cn.qihua.model;

import java.sql.Timestamp;

import org.apache.struts2.json.annotations.JSON;

/**
 * BaseOrder entity. @author MyEclipse Persistence Tools
 */

public class BaseOrder implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 9083166724654511025L;
	private Integer id;
	private Integer nbid;
	private String text;
	private String siteUrl;
	private Integer userId;
	private String baidu;
	private Integer type;
	private String linkman;
	private String phone;
	private String qq;
	private Timestamp createdate;
	private Boolean isnew;
	private String status;
	private String remark;

	// Constructors

	/** default constructor */
	public BaseOrder() {
	}

	/** full constructor */
	public BaseOrder(Integer nbid, String text,String siteUrl, Integer userId, String baidu,
			Integer type, String linkman, String phone, String qq,
			Timestamp createdate, Boolean isnew, String status, String remark) {
		this.nbid = nbid;
		this.text = text;
		this.siteUrl = siteUrl;
		this.userId = userId;
		this.baidu = baidu;
		this.type = type;
		this.linkman = linkman;
		this.phone = phone;
		this.qq = qq;
		this.createdate = createdate;
		this.isnew = isnew;
		this.status = status;
		this.remark = remark;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getNbid() {
		return this.nbid;
	}

	public void setNbid(Integer nbid) {
		this.nbid = nbid;
	}

	public String getText() {
		return this.text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getBaidu() {
		return this.baidu;
	}

	public void setBaidu(String baidu) {
		this.baidu = baidu;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getLinkman() {
		return this.linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getQq() {
		return this.qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}
	@JSON(format = "yyyy-MM-dd HH:mm:ss")
	public Timestamp getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Timestamp createdate) {
		this.createdate = createdate;
	}

	public Boolean getIsnew() {
		return this.isnew;
	}

	public void setIsnew(Boolean isnew) {
		this.isnew = isnew;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSiteUrl() {
		return siteUrl;
	}

	public void setSiteUrl(String siteUrl) {
		this.siteUrl = siteUrl;
	}

}